package com.weaver.drools.business.execution.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.weaver.drools.business.execution.service.IEAqInsInpectionpandect599Service;
import com.weaver.drools.common.dao.EAqInsInpectionpandect599Dao;
import com.weaver.drools.common.entity.EAqInsInpectionpandect599;
@Service
public class EAqInsInpectionpandect599ServiceImpl implements IEAqInsInpectionpandect599Service {

	@Autowired
	private EAqInsInpectionpandect599Dao inpectionpandect599Dao;
	@Override
	public EAqInsInpectionpandect599 findById(Long inpectionpandectid) {
		// TODO Auto-generated method stub
		return inpectionpandect599Dao.findEAqInsInpectionpandect599ByInpectionpandectid(inpectionpandectid);
	}

	@Override
	public void saveEAqInsInpectionpandect599(EAqInsInpectionpandect599 inpectionpandect599) {
		inpectionpandect599Dao.saveOrUpdate(inpectionpandect599);
	}

	@Override
	public void updateEAqInsInpectionpandect599(EAqInsInpectionpandect599 inpectionpandect599) {
		inpectionpandect599Dao.saveOrUpdate(inpectionpandect599);
	}

	@Override
	public void deleteById(Long inpectionpandectid) {
		inpectionpandect599Dao.deleteById(inpectionpandectid);
	}

}
